package com.nuaa.service.overseas.inter;

import java.util.Map;

import com.nuaa.domain.overseas.BackSupEntity;
import com.nuaa.domain.overseas.BackupEntity;
import com.nuaa.formmodel.BackHandForm;
import com.nuaa.formmodel.RetHandForm;
import com.nuaa.utils.AjaxMsg;
import com.nuaa.utils.DataGrid;
import com.nuaa.utils.PageInfo;

public interface BackupServiceInter {
	/**提交一条备货发货订单*/
	public AjaxMsg subOneOrder(BackupEntity entity);
	
	/**
	 * 获取所欲备货订单
	 * @param pager
	 * @param string
	 * @return
	 */
	public DataGrid<Map<String, Object>> getAll(PageInfo pager,
			String customer_no,String orderNo,String tmFrom,String tmTo);

	/**
	 * 根据id获得一个backup实体
	 * @param id
	 * @return
	 */
	public BackupEntity getById(int id);

	/**
	 * 根据backupOrder实体更新
	 * @param backupOrder
	 */
	public void update(BackupEntity backupOrder);

	/**
	 * 获取所有未审核订单
	 * @param pager
	 * @return
	 */
	public DataGrid<Map<String, Object>> getAllUncheck(PageInfo pager);
	/**
	 * 提交补充材料
	 * @param entity
	 * @return
	 */
	public AjaxMsg subSup(BackSupEntity entity);
	/**
	 * 根据订单号获取订单详情
	 */
	public BackupEntity getByOrderNo(String order_no);
	/**
	 * 获取补充文档信息
	 * @param order_no
	 * @return
	 */
	public BackSupEntity getSupByOrderNo(String order_no);

	public AjaxMsg saveModOrder(BackupEntity entity);

	public DataGrid<Map<String, Object>> getAllWaitBack(PageInfo pager, String customer_no, String orderNo, String tmFrom,
			String tmTo);

	public AjaxMsg saveHand(String id, BackHandForm form);

	public DataGrid<Map<String, Object>> getAllFinishBack(PageInfo pager, String customer_no, String orderNo, String tmFrom,
			String tmTo);
	public DataGrid<Map<String, Object>> getAllProceBack(PageInfo pager, String customer_no, String orderNo, String tmFrom,
			String tmTo);
}
